package com.cxj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cxj.domain.Booking;
import com.cxj.vo.SelectBookingByUserNameRes;
import com.cxj.vo.UserInsertBookingReq;
import com.cxj.vo.UserUpdateBookingReq;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 宋小帅和李小美的computer
 * @description 针对表【booking(预约表)】的数据库操作Service
 * @createDate 2025-02-10 19:44:08
 */
public interface BookingService extends IService<Booking> {
    SelectBookingByUserNameRes selectBookingByUserName(@RequestParam String bookingName);
    Boolean userInsertBooking(@RequestBody UserInsertBookingReq userInsertBookingReq);
    Boolean userDeleteBooking(@RequestParam String ymName,@RequestParam String bookingName);

    Boolean userUpdateBooking(@RequestBody UserUpdateBookingReq userUpdateBookingReq);
}
